﻿using Mall.Infrastructure.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sx.Mall.Common.Enums
{
    /// <summary>
    /// 订单状态
    /// </summary>
    public enum OrderState
    {
        /// <summary>
        /// 已提交
        /// </summary>
        [Description("已提交")]
        Submitted = 10,

        /// <summary>
        /// 等待付款
        /// </summary>
        [Description("等待付款")]
        WaitPaying = 30,

        /// <summary>
        /// 确认中
        /// </summary>
        [Description("确认中")]
        Confirming = 50,

        /// <summary>
        /// 已确认
        /// </summary>
       [Description("已确认")]
        Confirmed = 70,

        /// <summary>
        /// 备货中
        /// </summary>
       [Description("备货中")]
        PreProducting = 90,

        /// <summary>
        /// 已发货
        /// </summary>
        [Description("已发货")]
        Sended = 110,

        /// <summary>
        /// 已完成
        /// </summary>
       [Description("已完成")]
        Completed = 140,

        /// <summary>
        /// 退货
        /// </summary>
       [Description("退货")]
        Returned = 160,

        /// <summary>
        /// 锁定
        /// </summary>
        [Description("锁定")]
        Locked = 180,

        /// <summary>
        /// 取消
        /// </summary>
       [Description("取消")]
        Cancelled = 200
    }
}
